package cn.kinoko.common.constant;

/**
 * @author kinoko
 */
public interface Flag {
    Integer YES = 1;
    Integer NO = 0;

    static Integer getFlag(Boolean flag) {
        return flag ? YES : NO;
    }
}
